package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Payment;
import cn.wolfcode.crm.query.PaymentQueryObject;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.math.BigDecimal;
import java.util.List;

public interface IPaymentService {
    PageResult query(QueryObject qo);

    void delete(Long id);

    void save(Payment payment);

    void update(Payment payment);


    List queryForList(PaymentQueryObject qo);


    BigDecimal allAmount(QueryObject qo);

    List<Payment> selectAll();

}
